package com.gmail.dmitryustimov.ms.java7.composite.classic.example;

/**
 * Leaf
 * Author: Dmitry Ustimov
 * Date: 5/11/13
 * Time: 5:09 PM
 */
class Ellipse extends Graphic {

    public Ellipse(String name) {
        this.name = name;
    }

    //Prints the graphic.
    public void print() {
        System.out.println("Ellipse: " + name);
    }
}
